Skip to content

Add release workflow calling reusable workflow from cppfw/myci - #6

Merged
igagis merged 1 commit into
mainfrom
add-release-workflow
Dec 2, 2026
Merged

igagis merged 1 commit into
mainfrom
add-release-workflow

Conversation

@igagis-bot

Copy link
Copy Markdown
Contributor

Description

Adds .github/workflows/release.yml, a thin caller for the reusable release workflow in cppfw/myci (cppfw/myci/.github/workflows/release.yml@main).

The caller exposes the same workflow_dispatch inputs as the reusable workflow:

  • type (choice, required): patch or any — patch bumps the debian changelog patch version, any releases the current version
  • message (string, required for patch): added to build/debian/changelog

The reusable workflow handles: installing myci from the cppfw deb repo, checking out the repo, resolving the git identity from the triggering user's GitHub profile, and pushing main/latest/tags over HTTPS using MYCI_GIT_ACCESS_TOKEN.

Notes / requirements

  • Requires a MYCI_GIT_ACCESS_TOKEN secret in this repo — a PAT with Contents: read and write on cppfw/ruis-render-null (same secret name/mechanism ci.yml uses for deploy pushes). If the secret doesn't exist yet, the release run will fail at the push step with invalid credentials.
  • The triggering user must have a public email and full name in their GitHub profile (the reusable workflow fails fast otherwise).

Test plan

  • actionlint passes
  • Trigger release manually with type: patch and a message to confirm end-to-end push

Calls cppfw/myci/.github/workflows/release.yml@main with the same
workflow_dispatch inputs as the reusable workflow (type: patch/any,
required message for patch).

Requires the MYCI_GIT_ACCESS_TOKEN secret in this repo (a PAT with
contents:write on cppfw/ruis-render-null), same as the ci workflow uses for deploy pushes.
@igagis-bot
igagis-bot requested a review from igagis December 2, 2026 23:10
@igagis
igagis merged commit 1700713 into main Dec 2, 2026
3 of 21 checks passed
@igagis
igagis deleted the add-release-workflow branch December 2, 2026 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants